package logic.slots;

import com.jme.scene.Controller;

public class SlotController extends Controller {
	
	private static final long serialVersionUID = 1L;
	
	private Slot slot;
	
	public SlotController(Slot slot) {
		this.slot = slot;
	}
	
	@Override
	public void update(float time) {
		slot.checkSlots();
		slot.unregisterSlot();
	}
}